package com.yinhe.music.yhmusic.dialog;

import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;

import com.yinhe.music.yhmusic.R;

/**
 * Created by Johnson on 2018/1/22.
 */

public class UnuseSourceDialog extends AlertDialog {

    public UnuseSourceDialog(Context context) {
        super(context);
    }

    public UnuseSourceDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    public UnuseSourceDialog(Context context, int themeResId) {
        super(context, themeResId);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.unuse_source_dialog);

        findViewById(R.id.sure).setOnClickListener((v) -> dismiss());
    }
}
